//
//  SwiftCollectionViewCell.swift
//  SwiftTest
//
//  Created by 李江湖 on 2018/7/18.
//  Copyright © 2018年 李江湖. All rights reserved.
//

import UIKit

class SwiftCollectionViewCell: UICollectionViewCell {
    var lable = UILabel()
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        lable = UILabel.init(frame: self.bounds)
        self.addSubview(lable)
    }
    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        fatalError("错了")
    }
    override func awakeFromNib() {
        super.awakeFromNib()
        lable = UILabel.init(frame: self.bounds)
        self.addSubview(lable)
    }
}
